home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
tex-k
/
tex-k-archive.past
/
1994.12.gz
/
1994.12
/
000018_charnier@lirmm.fr_Sun Dec 4 09:24:17 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-12-30
|
4KB
Received: from lirmm.lirmm.fr by cs.umb.edu with SMTP id AA06316
(5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Sun, 4 Dec 1994 11:31:11 -0500
Received: from lirmm.fr (baobab.lirmm.fr [193.49.106.14]) by lirmm.lirmm.fr (8.6.9/8.6.4) with ESMTP id IAA06432; Sun, 4 Dec 1994 08:26:17 +0100
Message-Id: <199412040726.IAA06432@lirmm.lirmm.fr>
To: kb@cs.umb.edu
Cc: tex-k@cs.umb.edu
Subject: web2c-6.1a / freebsd-2.0
Date: Sun, 04 Dec 1994 08:24:17 +0100
From: "Philippe Charnier" <charnier@lirmm.fr>
Hi,
I found a solution to run configure on a FreeBSD-2.0 box and to create corrects
makefiles. I forget to remove comments (#echo ...) in kpathsea/configure, You
can do that to not change the initial numbering of lines. I hope this will
work on your machine as well.
Running make shows another problem: configure does not detect that FreeBSD-2.0
has dirent.h.
--- web2c-6.1a/configure.orig Sat Dec 3 22:36:43 1994
+++ web2c-6.1a/configure Sat Dec 3 22:39:33 1994
@@ -596,11 +596,11 @@
# Can't use only one -e and commands {dr foo} because foo has to be last.
# Use @e initially of -e because GNU echo has a -e option.
file_substs=`sed -n \
-"/^ac_include/s%ac_include[ ]*\(.*\)%@e '\\\\\@^&@r \1' -e '\\\\\@^&@d'%p"\
+"/^ac_include/s%ac_include[ ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p"\
$ac_given_srcdir/${ac_file}.in`
if test -n "$file_substs"; then
- # Change @e back to -e.
- file_subst_cmd="sed `echo $file_substs | sed s/@e/-e/g`"
+ # Change @e back to -e and X@^ to \@^.
+ file_subst_cmd="sed `echo $file_substs | sed 's/@e/-e/g' | sed 's/X@^/\\\\\@^/g`"
else
# If no substitutions and hence no sed commands, don't choke.
file_subst_cmd=cat
--- web2c-6.1a/kpathsea/configure.orig Sat Dec 3 22:40:17 1994
+++ web2c-6.1a/kpathsea/configure Sat Dec 3 22:44:16 1994
@@ -1083,12 +1083,15 @@
# Can't use only one -e and commands {dr foo} because foo has to be last.
# Use @e initially instead of -e because GNU echo has a -e option.
file_substs=`sed -n \
-"/^ac_include/s%ac_include[ ]*\(.*\)%@e '\\\\\@^&@r \1' -e '\\\\\@^&@d'%p"\
+"/^ac_include/s%ac_include[ ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p"\
$ac_given_srcdir/${ac_file}.in`
+ #echo $file_substs
+ #echo $file_substs | sed s/@e/-e/g | sed s/X@^/\\\\\@^/g
if test -n "$file_substs"; then
- # Change @e back to -e.
- file_subst_cmd="sed `echo $file_substs | sed s/@e/-e/g`"
- else
+ # Change @e back to -e and X@^ to \@^.
+ file_subst_cmd="sed `echo $file_substs | sed 's/@e/-e/g' | sed 's/X@^/\\\\\@^/g'`"
+ #echo $file_subst_cmd
+ else
# If no substitutions and hence no sed commands, don't choke.
file_subst_cmd=cat
fi
--- web2c-6.1a/web2c/configure.orig Sat Dec 3 22:41:22 1994
+++ web2c-6.1a/web2c/configure Sat Dec 3 22:43:05 1994
@@ -1897,11 +1897,11 @@
# Can't use only one -e and commands {dr foo} because foo has to be last.
# Use @e initially instead of -e because GNU echo has a -e option.
file_substs=`sed -n \
-"/^ac_include/s%ac_include[ ]*\(.*\)%@e '\\\\\@^&@r \1' -e '\\\\\@^&@d'%p"\
+"/^ac_include/s%ac_include[ ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p"\
$ac_given_srcdir/${ac_file}.in`
if test -n "$file_substs"; then
- # Change @e back to -e.
- file_subst_cmd="sed `echo $file_substs | sed s/@e/-e/g`"
+ # Change @e back to -e and X@^ to \@^.
+ file_subst_cmd="sed `echo $file_substs | sed 's/@e/-e/g' | sed 's/X@^/\\\\\@^/g'`"
else
# If no substitutions and hence no sed commands, don't choke.
file_subst_cmd=cat
-------- --------
Philippe Charnier charnier@lirmm.fr
LIRMM, 161 rue Ada, 34392 Montpellier cedex 5 -- France
------------------------------------------------------------------------